.heightSwitchAnimation {
  overflow: hidden;
  transition: all 0.25s ease-in;
  &.hideGroup {
    max-height: 0 !important;
  }
}
.indexSideWrap {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  box-sizing: border-box;
  width: 320px;
  padding-bottom: 110px;
  background-color: #fff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.16);
  z-index: 20;

  .indexSideHeaderWrap {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 50px;
    padding: 0 8px;
    .homepageWrap {
      display: flex;
      align-items: center;
      justify-content: center;
      box-sizing: border-box;
      height: 30px;
      border-radius: 30px;
      padding: 0 16px;
      color: #757575;
      cursor: pointer;
      background-color: #eee;
      &:hover {
        background-color: #e5f4ff;
        color: #2196f3;
      }
    }
    .homepage {
      display: flex;
      align-items: center;
      span {
        margin-left: 5px;
        font-size: 14px;
        font-weight: bold;
      }
      .icon {
        margin-bottom: 2px;
      }
    }
    .moreWrap {
      border-radius: 3px;
      margin-right: 10px;
      padding: 1px;
      &:hover {
        background-color: #eee;
      }
    }
  }

  .inputWrap {
    padding: 0 20px 10px 20px;
    input {
      box-sizing: border-box;
      width: 100%;
      height: 36px;
      line-height: 36px;
      padding-left: 10px;
      border: 1px solid #eaeaea;
      outline: none;
      border-radius: 6px;
      transition: border 0.25s;
      &:focus {
        border-color: #2196f3;
      }
      &::-webkit-input-placeholder {
        color: #bdbdbd;
      }
      &::-moz-placeholder {
        color: #bdbdbd;
      }
      &:-ms-input-placeholder {
        color: #bdbdbd;
      }
    }
  }

  .sideAppGroup,
  .nativeModuleWrap {
    padding: 0;
    max-height: 300px;
    .heightSwitchAnimation;
  }
  a {
    color: inherit;
  }
  li {
    display: flex;
    align-items: center;
    height: 44px;
    cursor: pointer;
    padding: 0 20px;
    .appInfo {
      flex: 1;
      padding-left: 12px;
      min-width: 0;
    }
    .projectName {
      font-size: 12px;
      color: #bdbdbd;
      overflow: hidden;
    }
    .appName {
      display: flex;
      align-items: center;
      max-width: 204px;
      font-size: 14px;
      span {
        max-width: 150px;
      }
    }
    .moduleName {
      margin-left: 8px;
      font-size: 14px;
    }
    .markAppWrap {
      width: 40px;
      line-height: 40px;
      visibility: hidden;
      text-align: right;
      .icon {
        font-size: 18px;
        color: #9e9e9e;
      }
      .icon-star-hollow:hover {
        color: #2196f3;
      }
      .icon-task-star {
        color: #f9ce1d;
      }
    }
    &:hover {
      background-color: #f5f5f5;
    }

    &:hover .markAppWrap {
      visibility: visible;
    }
  }
  .iconWrap {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 28px;
    height: 28px;
    border-radius: 5px;
    flex-shrink: 0;
    > div {
      line-height: normal;
    }
  }
  .sideAppGroupTitleWrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    &:hover .displayState {
      visibility: visible;
    }
    .sideAppGroupTitle {
      color: #757575;
      font-size: 14px;
      font-weight: bold;
    }
    .displayState {
      flex-shrink: 0;
      color: #9e9e9e;
      padding: 14px 20px;
      padding-right: 0;
      visibility: hidden;
    }
  }
}
